Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 6 - Printing Resources / Printing Resources Reference
Resources Used Only in Printer Drivers


The PostScript Preferences ('pdip') Resource

The PostScript preferences ('pdip') resource, of type gxPostscriptPrefsType, is used with PostScript drivers to specify information about a specific PostScript device. This resource is optional.

Figure 6-33 shows the structure of a PostScript preferences resource.

Figure 6-33 PostScript preferences resource

The PostScript preferences resource describes a number of attributes of the printer:

Table 6-38 shows the constants that you can use to define the render options field of the PostScript preferences resource.
PostScript render options (Continued)
ConstantValueExplanation
gxNeedsAsciiOption1The driver needs to convert all binary data to 7-bit ASCII values.
gxNeedsCommentsOption2The driver needs to issue PostScript comments.
gxBoundingBoxesOption4The driver needs to calculate values for the %%BoundingBox: and %%PageBoundingBox: variables. This option implies the gxNeedsCommentsOption constant.
gxPortablePostScriptOption8The driver needs to generate PostScript that is not device specific.
gxUseLevel2ColorOption128The driver is to use Level 2 device-independent color when printing to a Level 2 output device.

Table 6-39 shows the values that you can specify in the font types field of the PostScript preferences resource.
Table 6-39 Font stream types
ConstantValueExplanation
trueTypeStreamType0x0001TrueType font format
type1StreamType0x0002PostScript Type 1 font format
type3StreamType0x0004PostScript Type 3 font format
type42StreamType0x0008PostScript Type 4.2 font format
type42GXStreamType0x0010GX PostScript Type 4.2 font format
portableStreamType0x0020Portable font format
flattenedStreamType0x0040Flattened font format


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help